There's a push for round user images, for which the existing square
frame is a bad match. So remove the frame and enforce the shape.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/811
}
.end-session-dialog-logout-icon {
- //border: 2px solid #8b8b8b;
- border-radius: 5px;
+ border-radius: 99px;
width: 48px;
height: 48px;
background-size: contain;
}
.polkit-dialog-user-icon {
- border-radius: 5px;
+ border-radius: 99px;
background-size: contain;
width: 48px;
height: 48px;
/* Auth Dialogs & Screen Shield */
-.framed-user-icon {
+.user-icon {
background-size: contain;
- border: 2px solid $osd_fg_color;
color: $osd_fg_color;
- border-radius: 3px;
+ border-radius: 99px;
&:hover {
- border-color: lighten($osd_fg_color,30%);
color: lighten($osd_fg_color,30%);
}
}
this._user = user;
params = Params.parse(params, { reactive: false,
iconSize: AVATAR_ICON_SIZE,
- styleClass: 'framed-user-icon' });
+ styleClass: 'user-icon' });
this._iconSize = params.iconSize;
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;